<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			function $$(id){
				return document.getElementById(id)
			}
			window.onload=function(){
				var cnv=$$("canvas")
				var cxt=cnv.getContext("2d")
				
				cxt.lineWidth=10
				cxt.strokeStyle="hotpink"
				
				cxt.moveTo(40,60)
				cxt.lineTo(100,60)
				cxt.lineTo(100,30)
				cxt.lineTo(150,75)
				cxt.lineTo(100,120)
				cxt.lineTo(100,90)
				cxt.lineTo(40,90)
				cxt.lineTo(40,55)
				cxt.lineJoin="round";
				cxt.stroke()
			}
		</script></s>
	</head>
	<body>
		<canvas id="canvas" width="200" height="150" style="border: gray dashed 1px;"></canvas>
	</body>
</html>
